{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}
{% import "_my_wtf_macros.html" as my_wtf_macros %}

{% block title %}万屏时代OPC--运营所需导出{% endblock %}

{% block panel_heading %}
  万屏时代OPC--运营所需导出
    <a href="{{ url_for('op_bp.operate_stat_export_app_users') }}" class="btn btn-xs btn-success">
        导出使用APP用户
    </a>
{% endblock %}

{% block panel_body %}
    <form id="search-user-form" action="{{ url_for('op_bp.operate_stat_export') }}" method="post" class="form" role="form">
        {{ my_wtf_macros.form_field(form.start_date, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.end_date, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.email, div_col=4, label_col=4, field_col=7) }}
        <div class="btn-group pull-right">
            <button type="submit" class="btn btn-info"
                    id="query-user-btn">
                导出
            </button>
        </div>
    </form>

{% endblock %}
